{% extends 'base.html' %}
{% load staticfiles %}
{% load myLibrary %}
{% block left_content %}
<article>
  <div class="l_box f_l">
    <div class="postdate">
      <div class="month">{{ article.date_publish | date:'m' | upper }}</div>
      <div class="date">{{ article.date_publish | date:'d' }}</div>
    </div>
    <div class="title">
        <h2><a href="http://www.baidu.org/?p=542" rel="bookmark" title="Permanent Link to Announcement: java  开发相关下载(定期更新中)">{{ article.title }}</a></h2>
        <div class="postmeta">
          <span class="postmeta_author">{{ article.user }}</span>
          <span class="postmeta_category"><a href="http://www.baidu.org/?cat=14" rel="category">{{ article.category }}</a></span>          
          <span class="postmeta_time">{{ article.date_publish | date:'Y-m-d' }}</span>
        </div><!-- end postmeta -->
        <div class="entry">
         {{ article.content | safe}} 
        </div>
	{% for tag in tags %}
        <span class="tags"><a href="http://www.baidu.org/?tag=android" rel="tag">{{ tag.name }}</a></span> 
	{% endfor %}
     <div class="info">
        Address:  <a href="http://www.baidu.org/?p=542" rel="bookmark" title="Announcement: java  开发相关下载(定期更新中)">http://www.baidu.org/?p=542</a>
      </div>

      <div class="commentstitle"><span class="trackback"><a href="http://www.baidu.org/wp-trackback.php?p=542" rel="trackback" title="Trackback URI"></a></span><h3 id="comments"><span class="commentsnumber">only {{ length }} comment</span> untill now</h3></div>

      <ol class="commentlist">
	{% for comment in comment_list %}
                    <li class="alt" id="comment-59418">
                <div class="top"><a href='http://www.yopoing.com' rel='external nofollow' class='url'>{{ comment.user }}</a><span class="time"> @ <a href="#comment-59418" title="">{{ comment.date_publish | date:'Y-m-d h:i:s' }}</a></span></div>
                <div><img alt='' src='images/default.jpg' class='avatar avatar-32 photo' height='32' width='32' /></div>
                
                <div class="body">
                                <p>{{ comment.content }}</p>
                </div>
              </li>
	{% endfor %}
      </ol>

    <div id="commentform">
    <h3 id="respond">Add your comment now</h3>

    <div class='login_info'>还没有登陆？可以登录后再评论哦。<big><a href="">&raquo;去登录</a>&nbsp;<a href="">&raquo;去注册</a></big></div>

    <form action="http://www.baidu.org/wp-comments-post.php" method="post" id="commentform">


    <p><input type="text" name="author" id="author" value="yopoing" size="25" tabindex="1" class="comment_input" />
    <label for="author">Name (required)</label></p>

    <p><input type="text" name="email" id="email" value="yopoing@vip.qq.com" size="25" tabindex="2" class="comment_input" />
    <label for="email">Email (Will NOT be published) (required)</label></p>

    <p><input type="text" name="url" id="url" value="http://www.yopoing.com" size="25" tabindex="3" class="comment_input" />
    <label for="url">URL</label></p>


    <!--<p><small><strong>XHTML:</strong> You can use these tags: &lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code class=&quot;&quot; title=&quot;&quot; data-url=&quot;&quot;&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; &lt;pre class=&quot;&quot; title=&quot;&quot; data-url=&quot;&quot;&gt; &lt;span class=&quot;&quot; title=&quot;&quot; data-url=&quot;&quot;&gt; </small></p>-->

    <p><textarea name="comment" id="comment" cols="25" rows="5" tabindex="4" class="message_input" ></textarea></p>

    <p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit" class="button" />
    <input type="hidden" name="comment_post_ID" value="542" />
    <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="999f94e7bf" /></p><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="87"/></p></p>

    </form>
    </div>
    </div>

  </div>
</article>
{% endblock %}
